import { INIT_LIST_DATA, VAL_CHANGE, ADD_ITEM, DEL_ITEM } from './action-types'
export const getListData = () => ({ type: INIT_LIST_DATA })
export const valChange = (val) => ({type: VAL_CHANGE, data: val})
export const addItem = (item) => ({type: ADD_ITEM, data: item})
export const delItem = (index) => ({type: DEL_ITEM, data: index})